function file = LoadDataset(location, name)

if strcmp(location, 'home')
    home_path = '/home/georgi/Desktop/Project/';
elseif strcmp(location, 'dice')    
    home_path = '/afs/inf.ed.ac.uk/user/s07/s0785186/Desktop/Project/';
end

savefile = strcat(home_path,'datasets/dataset_',name,'.mat');
file = load(savefile);
%dataset = file.dataset;
disp(sprintf('Loading dataset: %s', savefile)); 

end